#!/bin/python
# coding: utf-8

from parse import *

if __name__ == "__main__":
    # KB_DIR = "/home/pavel/data/private/"
    # oKb = KbParser(KB_DIR)

    path = "/home/pavel/Dropbox/Účetnictí/kb-log-usa.txt"
    oKb = KbParser(path)

    for it in oKb.getAll():
        print "%s; %s; %s; %s" % (it.date, it.info, it.description, it.price)
